<!doctype html>
<html>
<head>
<script>
window.addEventListener("load", function(){
	
    var theButton; 

    var UIItemProperties = { 
      	disabled: false,
      	title: "新浪微博",
      	icon: "sina.png",
      	popup: {
        	href: "http://t.sina.com.cn/",
        	width: "580px",
        	height: "500px"
      	},
    }

    theButton = opera.contexts.toolbar.createItem( UIItemProperties ); 
    opera.contexts.toolbar.addItem( theButton ); 

}, false);
</script>
</head>
<body>
</body>
</html>


